package com.hwj.mapper;

import com.hwj.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_user】的数据库操作Mapper
* @createDate 2023-11-24 16:02:05
* @Entity com.hwj.entity.User
*/
@Mapper
public interface UserInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User queryById(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User doLogin(User user);

    User queryByName(String username);

    List<User> queryByNamePhoneEmail(User user);

    List<User> getExcellentUser();
}
